package cn.tedu.csmall.product.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class AlbumAddNewDTO implements Serializable {

    @ApiModelProperty(value = "相册名称", required = true)
    @NotNull(message = "必须提交相册名称")
    private String name;

    @ApiModelProperty(value = "相册简介", required = true)
    @NotNull(message = "必须提交相册简介")
    private String description;

    @ApiModelProperty(value = "排序序号", required = true)
    @NotNull(message = "必须提交排序序号")
    private Integer sort;

}
